<?php $CI =& get_instance();?>
<div class="btn-group btn-group-justified" role="group" aria-label="...">
    <div class="btn-group" role="group">
        <button type="button" class="btn btn-primary"><?php echo lang('license');?></button>
    </div>
    <div class="btn-group" role="group">
        <?php if (in_array($CI->router->method,array('environment','setting','installing','completed'))): ?>
            <button type="button" class="btn btn-primary"><?php echo lang('check_environment');?></button>
        <?php else : ?>
            <button type="button" class="btn btn-default"><?php echo lang('check_environment');?></button>
        <?php endif;?>
    </div>
    <div class="btn-group" role="group">
        <?php if (in_array($CI->router->method,array('setting','installing','completed'))): ?>
            <button type="button" class="btn btn-primary"><?php echo lang('settings');?></button>
        <?php else : ?>
            <button type="button" class="btn btn-default"><?php echo lang('settings');?></button>
        <?php endif;?>
    </div>
    <div class="btn-group" role="group">
        <?php if (in_array($CI->router->method,array('installing','completed'))): ?>
            <button type="button" class="btn btn-primary"><?php echo lang('installing');?></button>
        <?php else : ?>
            <button type="button" class="btn btn-default"><?php echo lang('installing');?></button>
        <?php endif;?>
    </div>
    <div class="btn-group" role="group">
        <?php if (in_array($CI->router->method,array('completed'))): ?>
            <button type="button" class="btn btn-primary"><?php echo lang('completed');?></button>
        <?php else : ?>
            <button type="button" class="btn btn-default"><?php echo lang('completed');?></button>
        <?php endif;?>
    </div>
</div>
<br/>